Allowed inputfile to be a path.