[main] simplify the files path checking
[main] simplify the files path checking

ouistiti-project/ouistiti,ouistiti-project/ouistiti,ouistiti-project/ouistiti,ouistiti-project/ouistiti,ouistiti-project/ouistiti,ouistiti-project/ouistiti