Changed main_file to be relative to the less directory, rather than the current directory