get the file system path for an uploaded resource