Added possibility to search only for files in most recent directory