renamed fileName field to filePath