code clean-up, calling the get filename path from a method in the main pixel.java class to make it cleaner