added loading animation
opening files