CREATING THE FILE REQUIRED