#ifndef OPENFILE_H
#define OPENFILE_H
#include "../struct.h"
#include "../error_codes.h"


int openFile (cmd_args args);

/*	Reads the [FILE] argument.
*	Assigns the file pointer contained within the 'args' struct
*	a value on success.
	Returns a specific error code on failure.
*
*	Copies the [FILE] string to a separate 'filename' variable for later use 
	in the 'readCharacter' function.
*
*/

#endif /*OPENFILE_H*/