refactoring. File filters and menu refatored.