createFile no longuer dependant of main.py