Added load avatar from file functionality