Added getRealFilePath function to file storage handler