Write just the filename in entry