ignore pyc files
remember last directory