fixed bug with file old file creating itself on startup