making file listing work