loadappfile must always return an object or its an exception, fixed now