created getByName and getByFilename