Added filestat stuff