pull-request-119

@shinnlok Can you add a comment for the checkFilePath? It's a little crytpic what's going on. Thx