Format and adding file