Folders inside folders in Lib/

I was wondering why I cannot have a project structure like this:

* lib
  * folder1
    * file1.ex 
    * file2.ex
    * folder1.1
      * file3.ex

When I use this folder structure, mix gives me an error when compiling: ** (CompileError) lib/folder1/file1.ex:2: module file3 is not loaded and could not be found
Thank you for your time

The structure seems to be fine, could you please tell us what file1.ex line 2 says?


I have recompiled it after erasing manually files inside ebin and now it works. Sorry I am not able to recover the error message :sleepy:. But thank you anyway for your fast response. I really appreciate it.