Move operations on files to the spec