adding file helper