Optimization of the find command