File checker

humm...Sorry to send a pull request again.
Because of not familiar with using github, I deleted my old repository  and fork a new one...