tying user permossions to have access to the java file