Check file exists before returning file path #17