Moved some code from FilePacketHeader into 'try' because it isn't always
the case that packet headers have parameters.

E.g. INDEX command only passes 1 parameter, which is the file size.

This is different from how UPDATE command works, wherein it passes 2
parameters, which is file size and file name.