When choosing files to upload from dir, make sure if there is no prefix to not upload everything.