Changed Makefile for compiling file_functions.c
Implemented directory existence checking and creation. Also implemented concatentation of pathnames and filenames to make new pathnames for new directories and new files
Changed return types of extraction functions.
Changed exit(0) to exit(EXIT_FAILURE) for consistency
Added feature for user to specify which directory to put logs in. Changed some return types.