Fixed issue where file is opened outside of the project. Removed unused getter.