filter out not exist file for agenda mode