directory filter working, working on file retrieval