Update action.py

added file search function