Fixed a bug when passing empty files.
1.0.2