Quicksort and binary search files