added filePath in callback, applies to issue #4