calling filecheck from main in the stair.py doesn't work