Readded ftruncate method