fixed single file bug

Signed-off-by: Fei Guan <feiguan@feis-mbp.home>