Added some stuff for the new file incrementation. It's not finished and bad.