remove File::Path dependency