Converted asynchronous file check to synchronous
v0.1.3