Fixed Bug with File Management

File Management Thread now works in terms of blocks, not pieces