Added check for old file