title: Libgdx file.internal file not found error
body: <p>I need to use an atlas file in my project.
  But libgdx only is giving me a file not found error, even when I already have the atlas inside the assets folder.</p>
  
  <p>Here it's the code:</p>
  
  <p><a href="https://github.com/cristianceron/CharacterEditor/blob/master/core/src/gui/GUI.java" rel="nofollow noreferrer">https://github.com/cristianceron/CharacterEditor/blob/master/core/src/gui/GUI.java</a></p>
  
  <pre><code>  LoadAtlas.addListener(new InputListener()
              {
                  @Override
                   public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
                      character.AddAnimation(AtlasName.getText());
                      return true;
              }
              });
  </code></pre>
  
  <p><a href="https://github.com/cristianceron/CharacterEditor/blob/master/core/src/gui/Chara.java" rel="nofollow noreferrer">https://github.com/cristianceron/CharacterEditor/blob/master/core/src/gui/Chara.java</a></p>
  
  <pre><code>public void AddAnimation(String s)
      {
          chara_atlas.AddAnimation(s);
      }
  </code></pre>
  
  <p><a href="https://github.com/cristianceron/CharacterEditor/blob/master/core/src/character/Character_Atlas.java" rel="nofollow noreferrer">https://github.com/cristianceron/CharacterEditor/blob/master/core/src/character/Character_Atlas.java</a></p>
  
  <pre><code>public void AddAnimation(String name)
      {
          if (Gdx.files.internal(name).exists())
          {
          TextureAtlas tmp = new TextureAtlas(Gdx.files.internal(name));
          texture_atlases.add(tmp);
          animations.add(new Animation(1/15f, texture_atlases.get(texture_atlases.size()-1).getRegions()));
          }
          else
          {
              Gdx.app.log("File", "File Not found " + name);
          }
      }
  </code></pre>
  
  <p>EDIT: link to my project github repo:
  <a href="https://github.com/cristianceron/CharacterEditor" rel="nofollow noreferrer">https://github.com/cristianceron/CharacterEditor</a></p>
  
  <p>link to the assets folder:
  <a href="https://github.com/cristianceron/CharacterEditor/tree/master/android/assets" rel="nofollow noreferrer">https://github.com/cristianceron/CharacterEditor/tree/master/android/assets</a></p>
  
  <p>error code:
  <a href="https://i.stack.imgur.com/XF0Jq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XF0Jq.png" alt="error file not found"></a></p>