added filter for ~ files