Types.LocalFiles fixed functionality.

Current implementation operates on LocalFiles as if it were a single file.
Fixed it for upload and delete operations on both, single and multiple files.