Fixed $current_file compared by unique url and changed load file first by file otherwise by file/index