Detect indentation in file