Fixed file reallocation