Create basic.py

needs error checking (incase invalid file given)