Fixed bug with opening files
Changed paths