File operations for reading, writing and overwriting.