Change Play.applicate.getFile to Play.resource