What finally worked was moving the .app file to the Applications folder. I was able to open txt files without doing that but for images and custom types it didn't work.