File I/O related functions and classes