I suppose some synchronization (using lock files) is needed