Add in-place methods for operations on files. Close #17