changing structures of files a bit