Wow I did not know of the Files class.. thanks for making me google it :) They finally made a set of helper methods xD