module for handling file I/O for different formats required by the pipeline