Fixed linux port. Turns out the program didn't care if a file was moved_to the directory which is how the ide saves and replaces files.