Import not found

In my skill I have a file named sql_gui.py with getUserData() function in it.
From my main file I try to import it like this: from sql_gui import getUserData.
It returns an error like the file isn’t there.
When I tried to import a file from a different directory it worked.
Do you have an idea why?
Thank You