but yeah, just use the fs module to check for a lockfile