updated chmod in load_from_file to ignore paths with %w