adds a file