Modified access file to provide convenient usage of db