Path::Class' file method is actually needed.