Added the possibility to take the stat from a file created previously