Updated lockingFile for new API