add_file() has been debugged and works properly