Solved files selection problem