Update contenttype.py

To accept filename without point