function to get the location of the attachment to a File
Usage
getFileLocation(fileObject)
Arguments
Details
Returns a string which is the path to the file attached to a File object.
If the File 'links' to an external URL (not downloaded to the local file system), returns the URL itself.