Added function to optimize ctrlp file searching