File reading, writing and parsing utilities.