Added existence check to directory creation in file_functions.sh