added test resize files i/o