Moved file format code for open file dialogue to make function more universally usable.
Changed some variable names to better suit the project.
Changed open button into cover button, to be more clear.