Improved files to load finding algorithm