Fixed a bug in previous pad_file commit.