Modified to include a localfile