Factory resetting your Xbox will delete every file and configuration. It will be just like when you unboxed your Xbox for the first time. You should take a backup before attempting to factory reset your Xbox One.