Changed the format with whitch the files are opened