Dear Thamaraikannan,
When Cantera throws the error that it cannot locate your input file, the error message should include the locations where it is searching.
For instance, if I try to import a non-existent yaml file ‘bogus.yaml’, I get this error message:
Input file bogus.yaml not found in directories
'.',
'/Users/decaluwe/opt/anaconda3/envs/cantera/lib/python3.6/site-packages/cantera/data',
'/Applications/Cantera/data',
'/Users/decaluwe/opt/anaconda3/envs/cantera/share/cantera/data
If you get a similar message, try saving your file in one of the suggested locations.
Hope this helps,
Steven