add error processing to getFileField (file not found)