Started file parser for input files.
added file parser
Added file parsing for input files, and function to determine whether a file is an input file or an output file.