refactored show and store - loading file