added find file and find latest functions to config