removed file lock, new args fixed concurrency issue